package de.java.shortys.myhome.controller;

import de.java.shortys.myhome.api.controller.AbstractSwingApplicationController;
import de.java.shortys.myhome.api.controller.navigation.NavigationController;
import de.java.shortys.myhome.fuelmonitor.controller.FuelMonitorController;

public class ApplicationController extends AbstractSwingApplicationController {

	private NavigationController navigationController = NavigationController.getInstance();

	public static void main(String[] args) {
		new ApplicationController();
	}

	public ApplicationController() {
		initialize();
	}

	@Override
	protected void exitApplication() {
		System.exit(0);
	}

	@Override
	public NavigationController getNavigationController() {
		return navigationController;
	}

	private void initialize() {
		add(new FuelMonitorController(this));
	}

}
